<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.*,monitor.*"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>监控系统——系统概述</title>
<link href="../sample.css" rel="stylesheet" type="text/css" />
		<link rel="shortcut icon" href="../fckeditor.gif"
				type="image/x-icon" />
		<script type="text/javascript">
			function FCKeditor_OnComplete(editorInstance) {
				var oCombo = document.getElementById('cmbSkins') ;
	
				// Get the active skin.
				var sSkin = editorInstance.Config['SkinPath'] ;
				sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
	
				oCombo.value = sSkin ;
				oCombo.style.visibility = '' ;
			}

			function ChangeSkin(skinName) {
				window.location.href = window.location.pathname + "?skin=" + skinName ;
			}
		</script>
</head>
<body>
 <tiles:insertTemplate template="/WEB-INF/layout_admin/layout.jsp" flush="true"> 
	<tiles:putAttribute name="body" >
		<div class="main-content">
		<s:form action="updateMSurvey" method="post">
			<h2>系统概述</h2>
			 <FCK:editor instanceName="monitor.survey" value="${monitor.survey}" height="200" width="400px">
					            <jsp:body>
					               <FCK:config SkinPath="${skin}"/>
					            </jsp:body>
					         </FCK:editor>
					         
			<h2>系统设计原则</h2>
			 <FCK:editor instanceName="monitor.projector" value="${monitor.projector}" height="200px" width="400px">
					            <jsp:body>
					               <FCK:config SkinPath="${skin}"/>
					            </jsp:body>
					         </FCK:editor>
					         
			<h2>系统功能介绍</h2>
			 <FCK:editor instanceName="monitor.introduction" value="${monitor.introduction}" height="200px" width="400px">
					            <jsp:body>
					               <FCK:config SkinPath="${skin}"/>
					            </jsp:body>
					         </FCK:editor>
					         
			<h2>实用性</h2>
			 <FCK:editor instanceName="monitor.pragmatism" value="${monitor.pragmatism}" height="200px" width="400px">
					            <jsp:body>
					               <FCK:config SkinPath="${skin}"/>
					            </jsp:body>
					         </FCK:editor>
					         
			<h2>发展性</h2>
			 <FCK:editor instanceName="monitor.expansibility" value="${monitor.expansibility}" height="200px" width="400px">
					            <jsp:body>
					               <FCK:config SkinPath="${skin}"/>
					            </jsp:body>
					         </FCK:editor>
					         
				<s:hidden name="monitor.id" />
				<s:submit value="修改" />
			</s:form>
        </div>
		
	</tiles:putAttribute>
</tiles:insertTemplate> 

</body>
</html>